package com.sm.li.common.props;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import javax.validation.constraints.Null;
import java.util.List;

@Component
@Data
@ConfigurationProperties(prefix = "aliyun")
public class UploadProperties {

  private String  endPoint;
  private String  accessKeyId;
  private String  accessKeySecret;
  private String  bucket;
  private String  baseUrl;
  private List<String> uploadExt;
  private int  uploadSize;
  private int  imgWidth;
  private int  imgHeight;

}
